/**
 * Copyright (C), 2020, JieYi Software System Co., Ltd.
 * All rights reserved.
 * FileName:       CommonConfig.java
 *
 * @Description:
 * @author: feiwe
 * Modification History:
 * Date         Author        Version        Discription
 * -------------------------------------------------------
 * 2020/11/22      feiwe                         add
 */


package com.fengwei.config;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

@Component
public class CommonProperty {

    @Value("${database.aes.key}")
    private String databaseAesKey;

    @Value("${datachange.threshold}")
    private Integer datachangeThreshold;

    public String getDatabaseAesKey() {
        return databaseAesKey;
    }

    public void setDatabaseAesKey(String databaseAesKey) {
        this.databaseAesKey = databaseAesKey;
    }

    public Integer getDatachangeThreshold() {
        return datachangeThreshold;
    }

    public void setDatachangeThreshold(Integer datachangeThreshold) {
        this.datachangeThreshold = datachangeThreshold;
    }
}
